<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box {
            width: 1000px;
            height: 500px;
            margin: 0 auto;
            background-color: #f0f;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .yylx{
            width: 100px;
            height: 100px;
            background-color: rgb(255, 0, 0);
            transition: linear 2s;
        }
        .yylx:hover{
            transform: rotate(-360deg);
            transition: linear 1s;
        }
    </style>
</head>

<body>
    <div class="box">
        <div class="yylx"><span>遥遥领先</span></div>
    </div>
</body>

</html>